﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo
{
    public partial class KaliteKontrolTakip : XForm
    {
        public KaliteKontrolTakip()
        {
            InitializeComponent();
        }

        private void KaliteKontrolTakip_Load(object sender, EventArgs e)
        {
            ShowOnlyFooter();
            
            gridView1.Init("GetKaliteKontrolStatistics");
            gridView1.AddDetailGrid(gridView2, "Ay,Hafta");
            gridView2.MakeColumnInvisible("Ay","Hafta");
            gridView2.FormatAsNumber(0, "Qty", "AdetTop");
            gridView1.FormatAsNumber(0, "Qty", "AdetTop");
            gridView2.AddSummary("Qty", "AdetTop");
            gridView1.AddSummary("Qty", "AdetTop");
            gridView1.BestFitColumns();
            gridView2.BestFitColumns();
        }
    }
}
